/**
 * 
 */
package com.gragra.parseOptions;
import it.unimi.dsi.fastutil.objects.ObjectArrayList;
/**
 * @author a2
 * 23.04.2013
 */
public class BooleanOption extends DescribeAtCreationOption
{
	/**
	 * 
	 */
	private boolean set = false;
	/**
	 * @param description
	 */
	public BooleanOption(String description)
	{super(description);}
	/* (non-Javadoc)
	 * @see com.gragra.parseOptions.OptionInformation#processArguments(it.unimi.dsi.fastutil.objects.ObjectArrayList)
	 */
	@Override
	public void processArguments(ObjectArrayList<String> arguments)
			throws CommandLineException
	{set = true;}
	/* (non-Javadoc)
	 * @see com.gragra.parseOptions.OptionInformation#hasBeenSet()
	 */
	@Override
	public boolean hasBeenSet()
	{return set;}
}